Skip to content

Fix duplicate changelog entry in post-release PR#480

Merged
laurit merged 2 commits into
open-telemetry:mainfrom
trask:fix-post-release-changelog-duplicate
May 12, 2026
Merged

Fix duplicate changelog entry in post-release PR#480
laurit merged 2 commits into
open-telemetry:mainfrom
trask:fix-post-release-changelog-duplicate

Conversation

@trask
Copy link
Copy Markdown
Member

@trask trask commented May 12, 2026

The post-release workflow generated a duplicate ## Version 1.41.1 heading in #479. Root cause:

merge-change-log-after-release.sh was copied from other Java repos where patch releases are cut from the prior minor's release branch (so the patch heading is not yet on main and must be prepended). In this repo, patch releases also go through the prepare-release-branch workflow, which already adds the heading to main — so the "patch release" branch prepended a second copy.

1.41.1 was the first patch release this repo cut via this workflow, which is why this only surfaced now.

This PR removes the patch-vs-minor conditional (always take the "heading already exists" path) and adds a comment explaining the divergence from other Java repos so it isn't accidentally re-synced.

@trask trask requested review from a team as code owners May 12, 2026 03:23
@laurit laurit merged commit 61c5cac into open-telemetry:main May 12, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants